package com.lingshu.app.ui.main;

import androidx.lifecycle.MutableLiveData;

import com.lingshu.app.base.BaseViewModel;

/**
 * @author 于定金
 * @version 1.0
 * @Date 2024/1/3 11:20
 * @Description
 */
public class MainViewModel extends BaseViewModel {
    public MutableLiveData<Integer> selectedOption = new MutableLiveData<>();

    public void onOptionSelected(int checkedId) {
        selectedOption.postValue(checkedId);
    }

    /**
     * 数据初始化
     */
    @Override
    public void initData() {

    }
}
